package com.wtb.javatool.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Column;
import java.math.BigDecimal;

/**
 * 桌位表
 * @author zhoulonhjie
 *
 */
@Data
@ToString
@ApiModel(value = "Table",description="桌位")
public class Table {

    /**
     *
     */
    private static final long serialVersionUID = 5715043674151551828L;
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "桌位名称")
    private String tableName;
    @ApiModelProperty(value = "桌位地址")
    private String location;
    @ApiModelProperty(value = "桌位容量")
    private String amount;
    @ApiModelProperty(value = "桌位状态")
    private int status;
    @ApiModelProperty(value = "预定用户")
    private String customerName;
    @ApiModelProperty(value = "预定用户电话")
    private String customerPhone;

    public Table(String tableName, String location, String customerName, String customerPhone,int status){
        this.tableName = tableName;
        this.location = location;
        this.customerName = customerName;
        this.customerPhone = customerPhone;
        this.status = status;
    }

    public Table(){}
}

